<?
	$title = !empty($options['@all']['main_field'])?$element[$options['@all']['main_field']]:$element['id'];
	$title_href = '/curd/catalog/'.$name_of_model;
	$this->addSubview(
		'Curd_Helper_Title',
		array('data' => array(
			$options['@all']['module_title'] => $title_href,
			LANG_EDIT_ELEMENT => '',
			$title => ''
		))
	);
?>

<? $this->addSubView(
    'Curd_Helper_Form',
    array('options' => $options, 'element' => $element, 'fields' => $fields)
);
?>